@charset "utf-8";
@function r($p) {
    @return $p/640*100%;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.web{
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
//预加载
.reload{
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #133272;
    display: flex;
    align-items: center;
    z-index: 4;
}
.con {
    position: relative;
    display: inline-block;
    height: 100px;
    width: 100px;
    margin: 0 auto;
}
.percent-circle {
    position: absolute;
    height: 100%;
    background: #ffb800;
    overflow: hidden;
}
.percent-circle-right {
    right: 0;
    width: 50px;
    border-radius: 0 50px 50px 0/0 50px 50px 0;
}
.percent-circle-right .right-content {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    transform-origin: left center;
    transform: rotate(0deg);
    border-radius: 0 50px 50px 0/0 50px 50px 0;
    background: #bbb;
}
.percent-circle-left {
    width: 50px;
    border-radius: 50px 0 0 50px/50px 0 0 50px;
}
.percent-circle-left .left-content {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    transform-origin: right center;
    transform: rotate(0deg);
    border-radius: 50px 0 0 50px/50px 0 0 50px;
    background: #bbb;
}
.text-circle {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80%;
    width: 80%;
    left: 10%;
    top: 10%;
    border-radius: 100%;
    background: #133272;
    color: #fff;
    font-size: 16px;
    font-family: arial;
}
//开始页
.index{
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #133272;
    display: flex;
    align-items: center;
    z-index: 3;
}
.page {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #133272;
    display: flex;
    align-items: center;
}
.page:nth-child(1){
    z-index: 2;
}
.page:nth-child(2){
    z-index: 1;
}
.content {
    width: 100%;
    max-height: 734px;
    position: relative;
    img {
        width: 100%;
    }
}
.musicLogo {
    position: absolute;
    top: 9%;
    right: r(25);
    z-index: 2;
    width: 30px;
    height: 30px;
    border: 1px solid white;
    border-radius: 50%;
    i {
        font-size: 30px;
        color: white;
    }
}
.musicRotate{
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function:linear;
    animation-timing-function:linear;
    -webkit-animation-name: rotate;
    animation-name: rotate;
    
}
@keyframes rotate{
    0%{
        transform: rotate(0);
    }
    100%{
        transform: rotate(360deg);
    }
}
.cloudMove {
    position: absolute;
    top: r(270);
    width: 100%;
    img {
        position: absolute;
    }
    img:nth-child(1) {
        width: r(108);
        left: r(34);
    }
    img:nth-child(2) {
        width: r(85);
        top: -30px;
        left: r(193);
    }
    img:nth-child(3) {
        width: r(63);
        top: -15px;
        left: r(388);
    }
    img:nth-child(4) {
        width: r(63);
        top: 5px;
        left: r(451);
    }
    img:nth-child(5) {
        width: r(108);
        margin-top: -10px;
        margin-left: r(562);
    }
}

.question {
    position: absolute;
    color: white;
    top: r(63);
    width: 100%;
    p {
        font-size: 20px;
        margin-left: r(44);
        margin-right: r(80);
        margin-bottom: r(32);
    }
}

.questionImg {
    width: r(280);
    max-height: r(80);
    max-width: r(341);
    margin: 0 auto;
}

.answers {
    position: absolute;
    bottom: r(67);
    left: r(57);
    width: r(367);
}

.answerItem {
    width: 100%;
    padding-top: calc(63/367*100%);
    background: url(../img/answerbg_03.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    margin-bottom: 15px;
    p {
        position: absolute;
        left: 10px;
        top: 0;
        font-size: 18px;
    }
}

.answerSign {
    position: absolute;
    width: calc(48/367*100%);
    right: r(55);
    top: r(60);
    display: none;
}

.kugouDog {
    width: r(88);
    position: absolute;
    bottom: r(67);
    right: r(72);
}

.musicImg {
    width: r(92);
    position: absolute;
    bottom: r(67);
    right: r(10);
}
.title-move{
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: bounce;
    animation-name: bounce;
}
.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.animated-3s{
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.animated-cloud {
    -webkit-animation-name: cloudMove;
    animation-name: cloudMove;
}

.bounceInUp {
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: bounceInUp;
    animation-name: bounceInUp;
}

.kugouMove {
    -webkit-animation-name: bounce;
    animation-name: bounce;
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}
.shake {
  -webkit-animation-name: shake;
  animation-name: shake;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
  -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.fadeOutUp {
  -webkit-animation-name: fadeOutUp;
  animation-name: fadeOutUp;
  -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.animated-delay-1s {
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}

.animated-delay-15s {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}
.animated-delay-2s {
  -webkit-animation-delay: 0.7s;
  animation-delay: 0.7s;
}
.animated-delay-25s {
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}
.zoomOut {
  -webkit-animation-name: zoomOut;
  animation-name: zoomOut;
}
@keyframes zoomOut {
  from {
    opacity: 1;
  }

  50% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  to {
    opacity: 0;
  }
}
@keyframes cloudMove {
    0% {
        transform: translateX(30%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes bounceInUp {
    from,
    60%,
    75%,
    90%,
    to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 3000px, 0);
        transform: translate3d(0, 3000px, 0);
    }
    60% {
        opacity: 1;
        -webkit-transform: translate3d(0, -20px, 0);
        transform: translate3d(0, -20px, 0);
    }
    75% {
        -webkit-transform: translate3d(0, 10px, 0);
        transform: translate3d(0, 10px, 0);
    }
    90% {
        -webkit-transform: translate3d(0, -5px, 0);
        transform: translate3d(0, -5px, 0);
    }
    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes bounce {
    from,
    20%,
    53%,
    80%,
    to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    40%,
    43% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -30px, 0);
        transform: translate3d(0, -30px, 0);
    }
    70% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -15px, 0);
        transform: translate3d(0, -15px, 0);
    }
    90% {
        -webkit-transform: translate3d(0, -4px, 0);
        transform: translate3d(0, -4px, 0);
    }
}
@keyframes shake {
  from,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  20%,
  40%,
  60%,
  80% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 1;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeOutUp {
  from {
    opacity: 1;
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

//测试结果页
.result{
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #133272;
    display: none;
    z-index: 10;
}
.result-content{
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
}

.logo {
    position: absolute;
    top: 9%;
    left: r(45);
    width: r(103);
    img {
        width: 100%;
    }
}
.testbox{
    width: r(534);
    padding-top: 135%;
    height: 0;
    overflow: hidden;
    position: absolute;
    top: r(80);
    left: r(56);
    background: url(../img/testbox_03.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.test-title{
    position: absolute;
    top: 10%;
    left: 27%;
    width: 41%;
    
}
.test-content{
    position: absolute;
    top: 20%;
    left: 10%;
    width: 75%;
    text-align: center;
    p{
        color: white;
        font-size: 26px;
        font-family: "微软雅黑";
        text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
        span{
            color: #36ff00;
        }
    }
}
.share-btn{
    position: absolute;
    top: 65%;
    right: 30px;
    width: 37.5%;
    
}
.people{
    position: absolute;
    bottom: r(30);
    left: r(81);
    width: r(260);
    
}
.share-page{
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: rgb(2,5,11);
    opacity: 0.9;
    display: none;
    z-index: 11;
}
.share-guide{
    text-align: center;
    width: 100%;
    margin-top: 40%;
    p{
        color: white;
        margin-top: 22px;
        font-size: 24px;
    }
}
.zoomIn {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
}
.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
}
.shake {
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: shake;
    animation-name: shake;
}
@keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes shake {
  from,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  20%,
  40%,
  60%,
  80% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }
}